﻿<UserControl x:Class="Coding4Fun.Cannon.Phone.Controls.AimView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    Width="640" Height="480">

    <Grid x:Name="LayoutRoot">
        <Image Margin="0,0,0,1" Source="../Media/AimUI.png" Stretch="Fill" CacheMode="BitmapCache"/>
        <Image Margin="0,0,0,1" Source="../Media/Front.png" Stretch="Fill" CacheMode="BitmapCache" />
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Margin="-20,-136,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock x:Name="PositionX" TextWrapping="Wrap" FontFamily="Fonts/Fonts.zip#Segoe Black" FontSize="18.667" Margin="0" Width="107" Text="-0.93" TextAlignment="Center" d:LayoutOverrides="Height">
				
				<TextBlock.Foreground>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF029B0D" Offset="0"/>
						<GradientStop Color="#FF03B40E" Offset="1"/>
					</LinearGradientBrush>
				</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="PositionY" TextWrapping="Wrap" FontFamily="Fonts/Fonts.zip#Segoe Black" FontSize="18.667" HorizontalAlignment="Right" Margin="0" Width="107" Grid.Column="1" Text="0.01" TextAlignment="Center" d:LayoutOverrides="Height">
				
				<TextBlock.Foreground>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF029B0D" Offset="0"/>
						<GradientStop Color="#FF03B40E" Offset="1"/>
					</LinearGradientBrush>
				</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="PositionZ" Text="-0.04" TextWrapping="Wrap" FontFamily="Fonts/Fonts.zip#Segoe Black" FontSize="18.667" HorizontalAlignment="Right" Margin="0" d:LayoutOverrides="Height" Grid.Column="2" Width="107" TextAlignment="Center">
				
				<TextBlock.Foreground>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF029B0D" Offset="0"/>
						<GradientStop Color="#FF03B40E" Offset="1"/>
					</LinearGradientBrush>
				</TextBlock.Foreground>
            </TextBlock>
        </Grid>
        <Grid HorizontalAlignment="Center" Margin="-221,52,0,0" VerticalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock x:Name="txtHorizontal" TextWrapping="Wrap" FontFamily="Fonts/Fonts.zip#Segoe Black" FontSize="29.333" Margin="0" Width="211" Text="{Binding ElementName=uxHorizontalSlider, Path=Value}" TextAlignment="Center" d:LayoutOverrides="Height" DataContext="{Binding ElementName=uxHorizontalSlider}">
				
				<TextBlock.Foreground>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF029B0D" Offset="0"/>
						<GradientStop Color="#FF03B40E" Offset="1"/>
					</LinearGradientBrush>
				</TextBlock.Foreground>
            </TextBlock>
            <TextBlock x:Name="txtVertical" TextWrapping="Wrap" FontFamily="Fonts/Fonts.zip#Segoe Black" FontSize="29.333" HorizontalAlignment="Right" Margin="0" Width="211" Grid.Column="1" Text="{Binding ElementName=uxVerticalSlider, Path=Value}" TextAlignment="Center" d:LayoutOverrides="Height">
				
				<TextBlock.Foreground>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#FF029B0D" Offset="0"/>
						<GradientStop Color="#FF03B40E" Offset="1"/>
					</LinearGradientBrush>
				</TextBlock.Foreground>
            </TextBlock>
        </Grid>
        <Slider VerticalAlignment="Top" Margin="76,348,178,0" Height="39" Style="{StaticResource SliderStyle_Angle}" Value="0" Background="{x:Null}" UseLayoutRounding="True" Name="uxHorizontalSlider" Minimum="-90" Maximum="90" IsEnabled="False" />
        <Slider HorizontalAlignment="Left" VerticalAlignment="Top" Orientation="Vertical" Margin="533,87,0,0" Width="39" Height="200" Style="{StaticResource SliderStyle_Angle}" Value="30" Background="{x:Null}" Name="uxVerticalSlider" MinHeight="32" Maximum="90" IsEnabled="False" />
    </Grid>
</UserControl>
